#ifndef USER_H
#define USER_H

#include <semaphore.h>

typedef struct {
        char login[16];
        int sock;
        sem_t attente;
        char buffer[255];
        int score;
} user_t;

struct User_list;
typedef struct User_list user_list;

struct User_list {
        user_t* user;
        user_list* prev;
        user_list* next;
};

#endif;

